package com.study.talk.ui.app.login

import android.os.Bundle
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import com.study.talk.databinding.ActivityLoginBinding
import com.study.common.EventBusUtil
import dagger.hilt.android.AndroidEntryPoint


@AndroidEntryPoint
class LoginActivity : AppCompatActivity() {

    private val vm : LoginViewModel by viewModels()

    private val binding by lazy { ActivityLoginBinding.inflate(layoutInflater) }

    public override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(binding.root)
    }


    override fun onDestroy() {
        EventBusUtil.unregisterEvent(this)
        super.onDestroy()
    }


    companion object {
        private const val TAG = "LoginActivity"
    }
}